import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { AdvertiserEverydayCostVO } from '@/api/oce/pitchingStatistics/types';

/**
 * 查询投手数据列表
 * @param query
 * @returns {*}
 */

export const listPitcher = (query?: AdvertiserEverydayCostVO): AxiosPromise<AdvertiserEverydayCostVO[]> => {
  return request({
    url: '/oce/advertiserEverydayCost/listPitcher',
    method: 'get',
    params: query
  });
};
